export interface manageQuery {
  name: number | string;
  status: number | string;
}

export interface IInsTreeItem {
  id: number,
  name: string,
  status: number,
  updateTime: number,
  description: string,
  serviceList: string[],
  children: IInsTreeItem[]
}

export interface manageAdd {
  parentId: number | string;
  insNo: number | string;
  name: number | string;
  description: number | string;
  serviceList: Array<string>
}

export interface manageUpdate {
  parentId: number | string,
  id: number | string;
  insNo: number | string;
  name: number | string;
  description: number | string;
  serviceList: Array<string>
}

export interface manageStatus {
  id: number | string;
  status: number | string;
  name: string
}

export interface manageUp {
  parentId: number | string
}

export interface manageReq {
  //id
  id: number | string;
  parentId: number | string;
  name: string;
  status: number | string;
  //组件标识
  updateTime: string;
  //描述
  description: string;
  // 超管账号
  empCount: number | string;
  // 超管密码
  insNo: number | string;
  serviceList: Array<string>;

  [propName: string]: any;
}

export interface filterTemplate {
  id: string;
  name: string;
}
